package com.addplus.townmall.server.api.model.exam;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Question extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 答案
     */
    private String answer;
    /**
     * 题目内容
     */
    private String content;
    /**
     * 题目描述
     */
    private String description;
    /**
     * 图片
     */
    private String picture;
    /**
     * 选择题选项
     */
    private String choiceA;
    private String choiceB;
    private String choiceC;
    private String choiceD;
    private String choiceE;
    private String choiceF;
    private String choiceG;
    private String choiceH;
    private Integer choiceNum;
    /**
     * 题目类型
     */
    private String questionType;
    /**
     * 分类
     */
    private String knowledgeName;
    /**
     * 难度
     */
    private String difficulty;
    /**
     * 分数
     */
    private Integer score;
    /**
     * 操作人员
     */
    private String contributor;
    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDeleted;

    @Override
    public String toString() {
        return "Question{" +
                "answer='" + answer + '\'' +
                ", content='" + content + '\'' +
                ", description='" + description + '\'' +
                ", picture='" + picture + '\'' +
                ", choiceA='" + choiceA + '\'' +
                ", choiceB='" + choiceB + '\'' +
                ", choiceC='" + choiceC + '\'' +
                ", choiceD='" + choiceD + '\'' +
                ", choiceE='" + choiceE + '\'' +
                ", choiceF='" + choiceF + '\'' +
                ", choiceG='" + choiceG + '\'' +
                ", choiceH='" + choiceH + '\'' +
                ", choiceNum=" + choiceNum +
                ", questionType='" + questionType + '\'' +
                ", knowledgeName='" + knowledgeName + '\'' +
                ", difficulty='" + difficulty + '\'' +
                ", score=" + score +
                ", contributor='" + contributor + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
